package com.santoker.user.service.service.tp.wechat.response;

import lombok.Data;

@Data
public abstract class WeChatAbstractResponse {

    private String errcode;

    private String errmsg;

    public boolean isSuccess() {
        if (this.errcode != null && !this.errcode.isEmpty()) {
            return false;
        }
        return true;
    }

}
